package com.zlk.algorithm.dataStructure.graph.impl;

/**
 * @program: algorithm
 * @ClassName Edge
 * @description:
 * @author: slfang
 * @create: 2024-03-15 16:41
 * @Version 1.0
 **/
public class Edge {

    public Node from;
    public Node to;
    public int weight;

    public Edge(int weight, Node from, Node to) {
        this.weight = weight;
        this.from = from;
        this.to = to;
    }


}
